#ifndef SORTVIEW_H
#define SORTVIEW_H

#include <QWidget>

class QListView;
class QSortFilterProxyModel;
class QComboBox;
class QStringListModel;

class SortView : public QWidget
{
    Q_OBJECT
public:
    explicit SortView(QWidget *parent = 0);
    ~SortView();

protected slots:
    void filterChanged(const QString& text);
private:
    QListView *view;
    QSortFilterProxyModel *proxyModel;
    QComboBox* syntaxBox;
    QStringListModel* model;
};

#endif // SORTVIEW_H
